package com.mercury.dao;

import com.mercury.entity.Pcattendance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IPcattendanceDao {

    void create(@Param("pcattendance") Pcattendance pcattendance);

    Pcattendance getAttendanceByOrderId(@Param("orderId") String orderId);

    List<Pcattendance> getAttendanceListByOrderId(
            @Param("orderId") String orderId
    );

    void updateTimes(@Param("attendance") Pcattendance attendance);
}
